module.exports = {
	devServer: {
		proxy: {
			'/ecweb': {
				target: `http://zfw.zjucd.com`,
				changeOrigin: true,
				// pathRewrite: {
				//   '^/ecweb': ''
				// }
			},
			"/api": {
				// target: "http://boxuan.nat300.top",
				// target: "http://192.168.0.124:18081",
				//target: 'http://u6635448.natappfree.cc',
				target: "http://zft.zjucd.com/zfw-app",
				// target: "http://172.10.1.111:10000/zfw-app",
				changeOrigin: true,
				pathRewrite: {
					"^/api": "",
				},
			},
		},
	},
};